home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13485 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  848 b 

  1. Path: seas.smu.edu!not-for-mail
  2. From: dbowman@post.smu.edu (Damon Bowman)
  3. Newsgroups: comp.lang.c++
  4. Subject: Class Engineering Issues
  5. Date: 25 Mar 1996 13:04:06 -0600
  6. Organization: Southern Methodist University
  7. Sender: usenet@seas.smu.edu
  8. Message-ID: <3156ecf9.611110371@sun.cis.smu.edu>
  9. Reply-To: dbowman@post.smu.edu
  10. NNTP-Posting-Host: sun.cis.smu.edu
  11. X-Nntp-Posting-Host: ax4-22.ppp.smu.edu
  12. X-Newsreader: Forte Agent .99d/32.182
  13.  
  14. I am learning C++, and I think I need some additional rules of thumb
  15. to use when constructing classes.
  16.  
  17. What are some general rules of thumb to use when deciding whether or
  18. not a particular function should be a class member or not?
  19.  
  20. What are some rules for deciding if a function should be public or
  21. private?
  22.  
  23. Should argument checking ALWAYS be done by the member functions?  What
  24. criteria are used to decide this?
  25.